<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改用户</title>
</head>
<body>
<form th:action="@{/good/updateshen}" method="post">
    <input type="hidden" name="id" th:value="${goods.id}">
    <input type="hidden" name="name" th:value="${goods.name}"/>
    <input type="hidden" name="price" th:value="${goods.price}"/>
    <input type="hidden" name="num" th:value="${goods.num}"/>
    <input type="hidden" name="status" th:value="${goods.status}"/>
    审核状态：<input type="radio" name="shenhe" th:field="*{goods.shenhe}" value="0"/>待审核
    <input type="radio" name="shenhe" th:field="*{goods.shenhe}" value="1"/>审核通过
    <input type="radio" name="shenhe" th:field="*{goods.shenhe}" value="2"/>审核失败<br/>
    是否上架：<input type="radio" name="shangjia" th:field="*{goods.shangjia}" value="1"/>上架
    <input type="radio" name="shangjia" th:field="*{goods.shangjia}" value="2"/>下架<br/>
    审核失败原因: <input type="text" name="fail" th:value="${goods.fail}" placeholder="请填写失败原因"/><br>
    <input type="submit" value="修改"/><br/>
</form>
</body>
</html>